/*
 * @Descripttion: 
 * @version: 
 * @Author: 
 * @Date: 2019-10-23 18:26:24
 */
import https from "../http";
import qs from "qs";
const WSB_API = process.env.NODE_ENV == "development" ? "/wsbUrl" : `${process.env.JZT_API}`;

const metadataTypeApi = {
  // 元数据类型目录树查询接口
  findCatalog: function (query) {
    return https({
      url: `${WSB_API}/catalog/findCatalog`,
      method: 'get',
      headers: {
        sendKey: "findCatalog"
      },
      params: query
    })
  },
  //  查询元数据类型
  queryMetaDataType: function (query) {
    return https({
      url: `${WSB_API}/MetaDataType/queryMetaDataType`,
      method: 'get',
      headers: {
        sendKey: "queryMetaDataType"
      },
      params: query
    })
  }
}



export default metadataTypeApi;
